Package jeresources.entry
Class WorldGenEntry
java.lang.Object
jeresources.entry.WorldGenEntry
-
Constructor Summary
ConstructorsConstructorDescriptionWorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, boolean silktouch, LootDrop... drops) WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, LootDrop... drops) WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, Restriction restriction, boolean silktouch, LootDrop... drops) WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, Restriction restriction, LootDrop... drops) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDrops(Collection<LootDrop> drops) voidfloatnet.minecraft.world.item.ItemStackgetBlock()List<net.minecraft.world.item.ItemStack>float[]intList<net.minecraft.world.item.ItemStack>getDrops()getLootDrops(net.minecraft.world.item.ItemStack itemStack) intgetMaxY()intgetMinY()booleanvoidmerge(WorldGenEntry entry) toString()
-
Constructor Details
-
WorldGenEntry
public WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, Restriction restriction, boolean silktouch, LootDrop... drops) -
WorldGenEntry
public WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, LootDrop... drops) -
WorldGenEntry
public WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, boolean silktouch, LootDrop... drops) -
WorldGenEntry
public WorldGenEntry(net.minecraft.world.item.ItemStack block, DistributionBase distribution, Restriction restriction, LootDrop... drops)
-
-
Method Details
-
addDrops
-
addDrops
-
getChances
public float[] getChances() -
getMinY
public int getMinY() -
getMaxY
public int getMaxY() -
isSilkTouchNeeded
public boolean isSilkTouchNeeded() -
getColour
public int getColour() -
getDrops
-
getBlockAndDrops
-
getBlock
public net.minecraft.world.item.ItemStack getBlock() -
getBiomeRestrictions
-
getDimension
-
getLootDrops
-
getAverageBlockCountPerChunk
public float getAverageBlockCountPerChunk() -
toString
-
getRestriction
-
merge
-